package com.xqboss.apps.domain.synthesis;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.xqboss.apps.enums.synthesis.SynthesisWhiteTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * <p>
 * 合成活动次数明细
 * </p>
 *
 * @author 木鱼
 * @since 2023-11-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value="SynthesisWhite对象", description="合成活动次数明细")
public class SynthesisWhite implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "合成活动id")
    private Long synthesisId;

    @ApiModelProperty(value = "白名单类型[1:活动限制;2:持图购查询;3:手动添加;]")
    private SynthesisWhiteTypeEnum type;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "可购买数量（总）")
    private Integer num;

    @ApiModelProperty(value = "已购买数量")
    private Integer nowNum;


}
